﻿// -----------------------------------------------------------------------
// <copyright file="ITaskManagerService.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

using System.ServiceModel;

namespace DemoService
{
    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    [ServiceContract] 
    public interface ITaskManagerService
    {
        [OperationContract]
        LoginResult Login(string username, string password);

        [OperationContract]
        ProcessQueryResult ProcessQuery(bool expectedVal);
    }

    public enum ProcessQueryResult
    {
        Succeeded,
        HasErrors
    }

    public enum LoginResult
    {
        Succeeded,
        Failed
    }
}
